package com.lavida.project.system.papers.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class Papers {
	private Integer id;
	private String name;
	private String cerId;
	@JsonFormat(pattern="yyyy-MM-dd")
	private Date startdate;
	@JsonFormat(pattern="yyyy-MM-dd")
	private Date enddate;
	private String status;
	private String cerstatus;
	private String remark;
	private String annex;
	private String annexPath;
	private Integer days;//到期天数
	public Papers() {
		super();
	}
	public Papers(Integer id, String name, String cerId, Date startdate, Date enddate, String status, String cerstatus,
			String remark, String annex, String annexPath) {
		super();
		this.id = id;
		this.name = name;
		this.cerId = cerId;
		this.startdate = startdate;
		this.enddate = enddate;
		this.status = status;
		this.cerstatus = cerstatus;
		this.remark = remark;
		this.annex = annex;
		this.annexPath = annexPath;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCerId() {
		return cerId;
	}
	public void setCerId(String cerId) {
		this.cerId = cerId;
	}
	public Date getStartdate() {
		return startdate;
	}
	public void setStartdate(Date startdate) {
		this.startdate = startdate;
	}
	public Date getEnddate() {
		return enddate;
	}
	public void setEnddate(Date enddate) {
		this.enddate = enddate;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getCerstatus() {
		return cerstatus;
	}
	public void setCerstatus(String cerstatus) {
		this.cerstatus = cerstatus;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getAnnex() {
		return annex;
	}
	public void setAnnex(String annex) {
		this.annex = annex;
	}
	public String getAnnexPath() {
		return annexPath;
	}
	public void setAnnexPath(String annexPath) {
		this.annexPath = annexPath;
	}
	public Integer getDays() {
		return days;
	}
	public void setDays(Integer days) {
		this.days = days;
	}
	@Override
	public String toString() {
		return "Papers [id=" + id + ", name=" + name + ", cerId=" + cerId + ", startdate=" + startdate + ", enddate="
				+ enddate + ", status=" + status + ", cerstatus=" + cerstatus + ", remark=" + remark + ", annex="
				+ annex + ", annexPath=" + annexPath + "]";
	}	
}
